(function(){var templateCache = window.$templateCache||Ares.templateCache;templateCache.put('/app/txplan/views/patient-new-txplan-view.html','<div class="ares-main-content" ares-clean-kendo>    <style>        .row > div {            box-sizing: border-box !important;        }        .itemTitle {            font-weight: bold;            font-size: 16px;        }        .commontable {            width: 100%;        }            .commontable td {                border: 0;            }        .div-selected {            background-color: #00A6C9;            color: white;        }        .div-default {            border-radius: 5px;            cursor: pointer;        }        .div-default-border {            border: 1px solid #FAFAFA;        }        .table-status th {            height: 30px;            text-align: center;        }        .table-status td {            height: 30px;            text-align: center;        }        .td-overflow {            word-break: keep-all; /* 不换行 */            white-space: nowrap; /* 不换行 */            overflow: hidden; /* 内容超出宽度时隐藏超出部分的内容 */            text-overflow: ellipsis; /* 当对象内文本溢出时显示省略标记(...) ；需与overflow:hidden;一起使用*/        }        /*border模拟tips*/        .message-box {            padding: 0;            min-width: 60px;            margin-top: 20px;            position: absolute;            float: left;            border: 1px solid #C9E9C0;            border-radius: 4px;            text-align: center;            color: #0C7823;        }        .triangle-border {            position: absolute;            left: 20px;            top: -20px;            overflow: hidden;            width: 0;            height: 0;            border-width: 10px;            border-style: solid dashed dashed dashed;        }        .tb-border {            bottom: 60px;            border-color: transparent transparent #808080 transparent;        }        .tb-background {            bottom: 59px;            border-color: transparent transparent white transparent;        }        .message-box tr:hover {            background-color: #A5A8B1;        }    </style>    <div class="row" style="margin:5px;">        <table style="width:100%;">            <tr>                <td colspan="2">                    <button class="btn" style="margin-bottom: 10px; margin-top: 10px;background-color: #00A6C9;color: white;" ng-click="editTxplan()">创建治疗计划</button>                </td>            </tr>            <tr>                <td style="width: 20%;" valign="top">                    <div class="div-default">                        <table class="div-default div-default-border" style="width:100%;">                            <tr ng-click="listActive=!listActive">                                <td colspan="2">                                    <div class="panel-heading" style="padding-left:0;">                                        <span class="itemTitle">当前治疗计划</span>                                    </div>                                </td>                                <td>                                    <span class="pull-right glyphicon" style="padding-right: 15px;" ng-class="{\'glyphicon-triangle-bottom\':listActive,\'glyphicon-triangle-right\':!listActive}"></span>                                </td>                            </tr>                            <tr style="border-top: 1px solid #dddddd;" ng-style="{\'background-color\':selectedItem==item.id?\'#F7F7F7\':\'white\'}" ng-show="listActive" ng-click="itemClick(item.id,\'Planing\')" ng-repeat="item in planingTP">                                <td style="width:1px;border:0;"></td>                                <td style="height: 38px;padding-left: 15px;" ng-style="{\'border-left\':selectedItem==item.id?\'3px solid #00A6C9\':\'1px solid #FAFAFA\'}">                                    <a style="font-weight:bold;" ng-style="{\'color\':selectedItem==item.id?\'#00A6C9\':\'#AAADB6\'}">{{item.name}}</a>                                </td>                                <td style="width:20%;">                                    <span class="span-color" style="color:red;" ng-style="{\'color\':selectedItem==item.id?\'white\':\'red\'}" ng-if="joinPlanData!=null && joinPlanData.id==item.id">新增{{joinPlanData.newItemCount}}</span>                                </td>                            </tr>                        </table>                    </div>                    <div class="div-default">                        <table class="div-default div-default-border" style="width:100%;">                            <tr ng-click="onConfirmedClick(true)" ng-style="{\'background-color\':selectStuats==\'Confirmed\'||selectStuats==\'NoConfirmed\'?\'#F5F5F5\':\'white\'}">                                <td>                                    <div class="panel-heading" style="padding-left:0;">                                        <span class="itemTitle" ng-style="{\'color\':selectStuats==\'Confirmed\'||selectStuats==\'NoConfirmed\'?\'#00A6C9\':\'black\'}">已完成治疗计划</span>                                    </div>                                </td>                                <td>                                    <div class="badge" style="color: black;margin-right: 1px;background-color: #ddd;" ng-show="confirmedTP.length>0">{{confirmedTP.length}}</div>                                </td>                            </tr>                        </table>                    </div>                    <div class="div-default">                        <table class="div-default div-default-border" style="width:100%;">                            <tr ng-click="onUnplannedClick()" ng-style="{\'background-color\':selectStuats==\'Unplanned\'||selectStuats==\'NoCheck\'?\'#F5F5F5\':\'white\'}">                                <td>                                    <div class="panel-heading" style="padding-left:0;">                                        <span class="itemTitle" ng-style="{\'color\':selectStuats==\'Unplanned\'||selectStuats==\'NoCheck\'?\'#00A6C9\':\'black\'}">检查未治疗项目</span>                                    </div>                                </td>                                <td>                                    <div class="badge" style="color: black;margin-right: 1px;background-color: #ddd;" ng-show="unplannedTP.length>0">{{unplannedTP.length}}</div>                                </td>                            </tr>                        </table>                    </div>                </td>                <td valign="top">                    <!-- 无计划提示    start  -->                    <div ng-show="selectStuats==\'NoPlan\'" style="width:100%;">                        <div style="margin:0 auto;width:300px;padding-top:50px;">                            <table style="font-size: 18px;font-weight: bold;">                                <tr>                                    <td>                                        <span style="color:#9397a2;">尚无进行中的计划,请</span>                                    </td>                                    <td style="border-bottom:2px solid #39BAD5;">                                        <a style="color:#39BAD5;" ng-click="editTxplan()">&nbsp;新增治疗计划</a>                                    </td>                                </tr>                            </table>                        </div>                    </div>                    <!-- 无计划提示    end  -->                    <!-- 无完成计划提示    start  -->                    <div ng-show="selectStuats==\'NoConfirmed\'" style="width:100%;">                        <div style="margin:0 auto;width:300px;padding-top:50px;">                            <table style="font-size: 18px;font-weight: bold;">                                <tr>                                    <td>                                        <span style="color:#9397a2;">尚无任何已完成治疗计划</span>                                    </td>                                </tr>                            </table>                        </div>                    </div>                    <!-- 无完成计划提示    end  -->                    <!-- 无检查提示    start  -->                    <div ng-show="selectStuats==\'NoCheck\'" style="width:100%;">                        <div style="margin:0 auto;width:300px;padding-top:50px;">                            <table style="font-size: 18px;font-weight: bold;">                                <tr>                                    <td>                                        <span style="color:#9397a2;">尚无任何检查,请</span>                                    </td>                                    <td style="border-bottom:2px solid #39BAD5;">                                        <a style="color:#39BAD5;" ng-click="goToGeneralExam()">&nbsp;新增牙齿检查</a>                                    </td>                                </tr>                            </table>                        </div>                    </div>                    <!-- 无检查提示    end  -->                    <!-- 检查未治疗项目    start  -->                    <div ng-show="selectStuats==\'Unplanned\'">                        <div class="panel panel-default" style="margin-bottom:2px; ">                            <div class="panel-heading">                                <div style="margin-top: 10px;">                                    <table class="table-status commontable" style=" table-layout:fixed;">                                        <thead>                                            <tr style="border-top: 2px solid #00A6C9; border-bottom: 1px solid #00A6C9;">                                                <th style="text-align:center;color:#A5A8B1;width: 10.5%;">日期</th>                                                <th style="text-align:center;color:#A5A8B1;width: 13%;">牙齿</th>                                                <th style="text-align:center;color:#A5A8B1;width: 5%;">区域</th>                                                <th style="text-align:center;color:#A5A8B1;width: 15%;">症状</th>                                                <th style="text-align:center;color:#A5A8B1;width: 10%;">备注</th>                                                <th style="text-align:center;color:#A5A8B1;width: 13%;">诊断</th>                                                <th style="text-align:center;color:#A5A8B1;width: 18.5%;">治疗项目</th>                                                <th style="text-align:center;color:#A5A8B1;width: 10%;">费用预算</th>                                                <th style="text-align:center;color:#A5A8B1;width: 5%;"></th>                                            </tr>                                        </thead>                                        <tbody>                                            <tr style="border-bottom:1px solid #DDDDDD;line-height:50px;" ng-repeat="item in unplannedTP">                                                <td style="text-align:center;">{{item.recordCreatedTime|toDateStr}}</td>                                                <td style="text-align:center;word-break: break-all;line-height: normal;line-height: normal;">{{item.toothCode}}</td>                                                <td style="text-align:center;">{{item|toRegionName}}</td>                                                <td style="text-align:center;">{{item.observationCode|toObservationCodeName}}</td>                                                <td style="text-align:center;word-break: break-all;" class="td-overflow" title="{{item.notes}}">{{item.notes}}</td>                                                <td style="text-align:center;" class="td-overflow" title="{{item.diagnose}}" ng-show="item.diagnose">{{item.diagnose}}</td>                                                <td style="text-align:center;" class="td-overflow" ng-show="!item.diagnose"><a ng-click="createDiagnose($index)"><span class="glyphicon glyphicon-plus"></span>增加诊断</a></td>                                                <td style="text-align:center;" class="td-overflow" title="{{item.name}}">{{item.name}}</td>                                                <td style="text-align:center;">{{item.price}}</td>                                                <td>                                                    <a title="编辑诊断" ng-click="onEditObservation(item)" ng-show="item.diagnose">                                                        <span class="glyphicon glyphicon-pencil"></span>                                                    </a>                                                    <a ng-click="deleteItemClick(item.id)" title="删除治疗项目" ng-show="item.diagnose">                                                        <span class="glyphicon glyphicon glyphicon-trash"></span>                                                    </a>                                                </td>                                            </tr>                                        </tbody>                                    </table>                                </div>                            </div>                        </div>                    </div>                    <!-- 检查未治疗项目    end  -->                    <!-- 进行中  start-->                    <div ng-show="selectStuats==\'Planing\'">                        <div class="panel panel-default" style="margin-bottom:2px; ">                            <div class="panel-heading">                                <!--<div class="pull-right" style="margin-bottom:10px;">                                </div>-->                                <div style="margin-bottom:10px;">                                    <table class="commontable" style="font-weight:bold;">                                        <tr>                                            <td>创建时间：{{txplan.recordCreatedTimeStr}}</td>                                            <td>创建人：{{txplan.recordCreatedUserName}}</td>                                            <td>最后修改时间：{{txplan.recordUpdatedTimeStr}}</td>                                            <td>修改人：{{txplan.recordUpdatedUserName}}</td>                                            <td align="right"><a ng-click="printTxplan(txplan.id)" title="生成治疗报告" style="margin-left:10px;"><span class="icon-printer"></span></a></td>                                        </tr>                                    </table>                                </div>                                <div>                                    <table class="table-status" style="width:100%;">                                        <thead>                                            <tr style="border-top: 2px solid #00A6C9; border-bottom: 1px solid #00A6C9;">                                                <th>                                                    <table style="width:100%;">                                                        <tr>                                                            <th style="text-align:left;color:#A5A8B1;width: 7.5%;">状态</th>                                                            <th style="text-align:center;color:#A5A8B1;width: 7%;">顺序</th>                                                            <th style="text-align:center;color:#A5A8B1;width: 15%;">牙齿</th>                                                            <th style="text-align:center;color:#A5A8B1;width: 5%;">区域</th>                                                            <th style="text-align:center;color:#A5A8B1;width: 10%;">症状</th>                                                            <th style="text-align:center;color:#A5A8B1;width: 15%;">诊断</th>                                                            <th style="text-align:center;color:#A5A8B1;width: 15%;">治疗项目</th>                                                            <th style="text-align:center;color:#A5A8B1;width: 10%;">费用预算</th>                                                            <th style="text-align:center;color:#A5A8B1;width: 10.5%;">预约时间</th>                                                            <th style="text-align:center;color:#A5A8B1;width: 5%;">操作</th>                                                        </tr>                                                    </table>                                                </th>                                            </tr>                                        </thead>                                        <tbody>                                            <tr style="border-bottom:1px solid #DDDDDD;line-height:50px;" ng-repeat="item in txplan.txplanItemList">                                                <td>                                                    <table style="width:100%;table-layout:fixed;">                                                        <tr>                                                            <td style="position:absolute;text-align:left;width: 7.5%;">                                                                <div class="badge" data-toggle="dropdown" style="height:17px;" ng-if="item.status!=1" ng-style="{\'background-color\':item.color}">                                                                    {{item.statusStr}}                                                                    <span class="glyphicon glyphicon-chevron-down"></span>                                                                </div>                                                            </td>                                                            <td style="position:absolute;text-align:left;width: 7.5%;">                                                                <div class="badge" data-toggle="dropdown" style="cursor:pointer;height:17px;" ng-if="item.status==1" ng-style="{\'background-color\':item.color}">                                                                    {{item.statusStr}}                                                                    <span class="glyphicon glyphicon-chevron-down"></span>                                                                </div>                                                                <div class="message-box dropdown-menu command-list">                                                                    <div class="triangle-border tb-border"></div>                                                                    <div class="triangle-border tb-background"></div>                                                                    <table style="width: 100%; line-height: 15px;">                                                                        <tr style="cursor:pointer;" ng-click="updateTxplanItemStatu(item,2,\'已完成\')">                                                                            <td>已完成</td>                                                                        </tr>                                                                    </table>                                                                </div>                                                            </td>                                                            <td style="text-align:center;width: 7%;">{{$index+1}}</td>                                                            <td style="text-align:center;width: 10%;word-break: break-all;line-height: normal;">{{item.toothCode}}</td>                                                            <td style="text-align:center;width: 10%;">{{item|toRegionName}}</td>                                                            <td style="text-align:center;width: 10%;" class="td-overflow" title="{{item.toothObservationCode|toObservationCodeName}}">{{item.toothObservationCode|toObservationCodeName}}</td>                                                            <td style="text-align:center;width: 15%;" class="td-overflow" title="{{item.diagnose}}">{{item.diagnose}}</td>                                                            <td style="text-align:center;width: 15%;" class="td-overflow" title="{{item.transactionCodeName}}">{{item.transactionCodeName}}</td>                                                            <td style="text-align:center;width: 10%;">{{item.price}}</td>                                                            <td style="text-align:center;width: 10.5%;">{{item.apptDateStr}}</td>                                                            <td style="text-align:center;width: 5%;">                                                                <a title="编辑诊断" ng-click="onEditObservation(item)" ng-show="item.statusStr==\'待预约\'"><span class="glyphicon glyphicon-pencil"></span></a>                                                                <a title="查看明细" ng-click="onShowDetailClick(item,false)"><span class="glyphicon" ng-class="{\'glyphicon-chevron-up\': item.showDetail,\'glyphicon-eye-open\':!item.showDetail}"></span></a>                                                            </td>                                                        </tr>                                                        <tr ng-show="item.showDetail">                                                            <td colspan="10" style="text-align: left;" valign="top">                                                                <div>                                                                    <div style="height: 25px">                                                                        <div class="btn-group pull-left">                                                                            <button style="padding-top:3px;padding-bottom:3px;" type="button" class="btn btn-default btn-primary" ng-class="{\'btn-primary\': !item.showChargeDiv}" ng-click="onShowChargeClick(item)">预约记录</button>                                                                            <button style="padding-top:3px;padding-bottom:3px;" type="button" class="btn btn-default" ng-class="{\'btn-primary\': item.showChargeDiv}" ng-click="onShowChargeClick(item)">收费明细</button>                                                                        </div>                                                                        <div class="pull-right" style="height: 25px;margin-top: -10px;display:none">                                                                            <a ng-click="openEditDialog(item.id)"><span class="glyphicon glyphicon glyphicon-pencil"></span>编辑收费项目</a>                                                                        </div>                                                                    </div>                                                                    <table style="width:100%;background-color:white;" ng-show="!item.showChargeDiv">                                                                        <tr style="border-top: 1px solid #00A6C9; border-bottom: 1px solid #00A6C9;">                                                                            <th style="text-align:center;color:#A5A8B1;line-height: 10px;">预约时间</th>                                                                            <th style="text-align:center;color:#A5A8B1;line-height: 10px;">预约状态</th>                                                                            <th style="text-align:center;color:#A5A8B1;line-height: 10px;">医生</th>                                                                            <th style="text-align:center;color:#A5A8B1;line-height: 10px;">备注</th>                                                                            <th style="text-align:center;color:#A5A8B1;line-height: 10px;">操作</th>                                                                        </tr>                                                                        <tr style="border-bottom: 1px solid #dddddd;" ng-repeat="appt in item.apptHistoryList">                                                                            <td style="text-align:center;">{{appt.appointment.startTime|toDateString}}</td>                                                                            <td style="text-align:center;">{{appt.stateStr}}</td>                                                                            <td style="text-align:center;">{{appt.doctorName}}</td>                                                                            <td style="text-align:center;">{{appt.notes}}</td>                                                                            <td style="text-align:center;">                                                                                <a title="编辑预约" ng-click="editAppt(appt.appointment.id,txplan.id)" ng-show="appt.appointment.canEdit"><span class="glyphicon glyphicon-pencil"></span></a>                                                                                <a style="margin-left:5px;" title="取消预约" ng-click="cancelAppt(appt.appointment,txplan.id)" ng-show="appt.appointment.canEdit"><span class="glyphicon glyphicon-remove"></span></a>                                                                            </td>                                                                        </tr>                                                                    </table>                                                                    <table style="width:100%;background-color:white;" ng-show="item.showChargeDiv">                                                                        <tr style="border-top: 1px solid #00A6C9; border-bottom: 1px solid #00A6C9;">                                                                            <th style="text-align:center;color:#A5A8B1;line-height: 10px;">收费项目</th>                                                                            <th style="text-align:center;color:#A5A8B1;line-height: 10px;">治疗次数</th>                                                                            <th style="text-align:center;color:#A5A8B1; line-height :10px;">收费状况</th>                                                                            <th style="text-align:center;color:#A5A8B1;line-height: 10px;">费用预算</th>                                                                        </tr>                                                                        <tr style="border-bottom: 1px solid #dddddd;" ng-repeat="itemCharge in item.txplanItemChargeList">                                                                            <td>{{itemCharge.name}}</td>                                                                            <td>{{itemCharge.count}}次</td>                                                                            <td ng-bind-html="itemCharge.statusStr"></td>                                                                            <td>{{itemCharge.price}}</td>                                                                        </tr>                                                                    </table>                                                                </div>                                                            </td>                                                        </tr>                                                    </table>                                                </td>                                            </tr>                                        </tbody>                                    </table>                                    <br />                                </div>                                <div style="width:500px;margin:0 auto;text-align:center;" ng-show="isAllConfirmed">                                    <button class="btn div-selected" style="margin-bottom: 10px; margin-top: 10px;" ng-click="confirmedTxplan()">&nbsp;&nbsp;全部完成&nbsp;&nbsp;</button>                                </div>                                <div style="text-align:right">                                    <button ng-click="deleteTxplanClick()" title="删除治疗项目" class="btn btn-default" style="margin-left: 10px; width: 80px;">删除此计划</button>                                    <button ng-click="editTxplan(txplan.id)" title="编辑治疗项目" class="btn btn-default" style="margin-left: 10px; width: 80px;">                                        修改                                    </button>                                    <button ng-click="creatAppt()" title="新建预约" class="btn div-selected" style="margin-left: 10px; width: 80px; ">添加预约</button>                                </div>                            </div>                        </div>                    </div>                    <!-- 进行中  end-->                    <!-- 已完成  start-->                    <div ng-show="selectStuats==\'Confirmed\'">                        <div class="panel panel-default" style="margin-bottom:2px; ">                            <div class="panel-heading">                                <table class="table-status" style="width:100%;">                                    <thead>                                        <tr style="border-top: 2px solid #00A6C9; border-bottom: 1px solid #00A6C9;">                                            <th>                                                <table style="width:100%;">                                                    <tr>                                                        <th style="text-align:left;color:#A5A8B1;width: 13%;">创建时间</th>                                                        <th style="text-align:center;color:#A5A8B1;width: 13%;">完成时间</th>                                                        <th style="text-align:center;color:#A5A8B1;width: 14%;">计划名称</th>                                                        <th style="text-align:center;color:#A5A8B1;width: 12.5%;">创建人</th>                                                        <th style="text-align:center;color:#A5A8B1;width: 12.5%;">周期时长</th>                                                        <th style="text-align:center;color:#A5A8B1;width: 12.5%;">费用预算</th>                                                        <th style="text-align:center;color:#A5A8B1;width: 12.5%;">实际消费</th>                                                        <th style="text-align:center;color:#A5A8B1;width: 10%;">操作</th>                                                    </tr>                                                </table>                                            </th>                                        </tr>                                    </thead>                                    <tbody>                                        <!--ng-repeat="item in confirmedTP"-->                                        <tr style="border-bottom:1px solid #DDDDDD;line-height:50px;" ng-repeat="item in confirmedTP">                                            <td>                                                <table style=" width:100%;table-layout:fixed;">                                                    <tr>                                                        <td style="text-align:left;width: 13%;">{{item.recordCreatedTime|toDateString}}</td>                                                        <td style="text-align:center;width: 13%;">{{item.recordUpdatedTime|toDateString}}</td>                                                        <td style="text-align:center;width: 14%;">{{item.name}}</td>                                                        <td style="text-align:center;width: 12.5%;">{{item.recordCreatedUserName}}</td>                                                        <td style="text-align:center;width: 12.5%;">{{item.day}}天</td>                                                        <td style="text-align:center;width: 12.5%;">{{item.price}}</td>                                                        <td style="text-align:center;width: 12.5%;">{{item.totalPrice}}</td>                                                        <td style="text-align:center;width: 10%;">                                                            <a title="查看明细" ng-click=" item.showDetail=!item.showDetail"><span class="glyphicon" ng-class="{\'glyphicon-chevron-up\': item.showDetail,\'glyphicon-eye-open\':!item.showDetail}"></span></a>                                                            <a ng-click="printTxplan(item.id)" title="生成治疗报告" style="margin-left:10px;"><span class="icon-printer"></span></a>                                                        </td>                                                    </tr>                                                    <tr ng-show="item.showDetail">                                                        <td colspan="10" style="text-align: left;" valign="top">                                                            <div>                                                                <div style="height: 25px">                                                                    <div class="btn-group pull-left">                                                                        <button style="padding-top:3px;padding-bottom:3px;" type="button" class="btn btn-default btn-primary" ng-class="{\'btn-primary\': !item.showChargeDiv}" ng-click="onShowChargeClick(item)">历史记录</button>                                                                        <button style="padding-top:3px;padding-bottom:3px;" type="button" class="btn btn-default" ng-class="{\'btn-primary\': item.showChargeDiv}" ng-click="onShowChargeClick(item)">收费明细</button>                                                                    </div>                                                                </div>                                                                <table style="width:100%;background-color:white;" ng-show="!item.showChargeDiv">                                                                    <tr style="border-top: 1px solid #00A6C9; border-bottom: 1px solid #00A6C9;">                                                                        <th style="text-align:center;color:#A5A8B1;line-height: 10px;">治疗项目</th>                                                                        <th style="text-align:center;color:#A5A8B1;line-height: 10px;">治疗次数</th>                                                                        <th style="text-align:center;color:#A5A8B1;line-height: 10px;">收费状况</th>                                                                        <th style="text-align:center;color:#A5A8B1;line-height: 10px;">费用预算</th>                                                                    </tr>                                                                    <tr style="border-bottom: 1px solid #dddddd;" ng-repeat="tpItem in item.historyTxplanItems">                                                                        <td style="text-align:center;">{{tpItem.transactionCodeId|toTransactionName}}</td>                                                                        <td style="text-align:center;">{{tpItem.appCount}}</td>                                                                        <td style="text-align:center;" ng-bind-html="tpItem.statusStr"></td>                                                                        <td style="text-align:center;">{{tpItem.price}}</td>                                                                    </tr>                                                                </table>                                                                <table style="width:100%;background-color:white;" ng-show="item.showChargeDiv">                                                                    <tr style="border-top: 1px solid #00A6C9; border-bottom: 1px solid #00A6C9;">                                                                        <th style="text-align:center;color:#A5A8B1;line-height: 10px;">收费项目</th>                                                                        <th style="text-align:center;color:#A5A8B1;line-height: 10px;">治疗次数</th>                                                                        <th style="text-align:center;color:#A5A8B1; line-height :10px;">收费状况</th>                                                                        <th style="text-align:center;color:#A5A8B1;line-height: 10px;">费用预算</th>                                                                    </tr>                                                                    <tr style="border-bottom: 1px solid #dddddd;" ng-repeat="itemCharge in item.txplanChargeItems">                                                                        <td>{{itemCharge.itemName}}</td>                                                                        <td>{{itemCharge.count}}次</td>                                                                        <td ng-bind-html="itemCharge.statusStr"></td>                                                                        <td>{{itemCharge.itemPrice}}</td>                                                                    </tr>                                                                </table>                                                            </div>                                                        </td>                                                    </tr>                                                </table>                                            </td>                                        </tr>                                    </tbody>                                </table>                            </div>                        </div>                    </div>                    <!-- 已完成  end-->                </td>            </tr>        </table>    </div></div>');templateCache.put('/app/txplan/views/patient-txplan-create-view.html','<div class="ares-main-content" ares-clean-kendo ares-patient-container ares-msg-host>    <style scoped>        h4 {            margin: 25px 0;        }        .div-selected {            background-color: #00A6C9;            color: white;        }        .center {            text-align: center;        }    </style>    <div style="padding: 10px; ">        <div style="padding: 25px; background-color: #F5F5F5; min-height: 500px;padding-top: 5px; ">            <div>                <strong class="" style="color: #575353;">治疗计划名称</strong>                <strong style="margin-left: 98px; color: #575353;">创建人</strong>            </div>            <div style="margin-top:10px;height:45px;">                <input type="text" class="form-control col-sm-3" style="width:130px;" ng-disabled="disableBtn" ng-model="txplan.name" />                <input type="text" id="provider-dropdown" class="form-control col-sm-3" style="width:140px;margin-left:20px;" />            </div>            <div style=" overflow-x: auto; width:100%;">                <table style="width:100%">                    <tr style="border-top: 2px solid #00a6c9; border-bottom: 1px solid #00a6c9; height:45px; ">                        <th width="5%" style="color: #A5A8B1;" class="center">选择</th>                        <th width="5%" style="color: #A5A8B1;" class="center">顺序</th>                        <th width="8%" style="color: #A5A8B1;" class="center">牙齿</th>                        <th width="7%" style="color: #A5A8B1;" class="center">部位</th>                        <th width="10%" style="color: #A5A8B1;" class="center">症状</th>                        <th width="10%" style="color: #A5A8B1;" class="center">备注</th>                        <th width="10%" style="color: #A5A8B1;" class="center">诊断</th>                        <th width="10%" style="color: #A5A8B1;" class="center">处置项目</th>                        <th width="10%" style="color: #A5A8B1;" class="center">费用预算</th>                        <th width="10%" style="color: #A5A8B1;" class="center">预约时间</th>                        <th width="5%"> </th>                    </tr>                    <tr ng-repeat="item in txplan.txplanItemList" style="height:35px;">                        <td width="5%" align="center"> <input class=\'selectcheckbox\' ng-model="item.isSelected" type=\'checkbox\'></td>                        <td width="5%" align="center">{{$index+1}}</td>                        <td width="5%" align="center" style="word-break: break-all;">{{item.toothCode}}</td>                        <td width="10%" align="center">{{item|toRegionName}}</td>                        <td width="10%" align="center">{{item.observationCode||item.toothObservationCode|toObservationCodeName}}</td>                        <td width="10%" align="center" style="word-break: break-all;">{{item.notes}}</td>                        <td width="10%" align="center" ng-show="item.diagnose">{{item.diagnose}}</td>                        <td width="10%" align="center" ng-show="!item.diagnose">                            <label style="color: #00A6C9; cursor: pointer; " ng-click="editTxplanItem(item,$index)">+ 增加诊断</label>                        </td>                        <td width="10%" align="center">{{item.transactionCodeName||item.name}}</td>                        <td width="10%" align="center">{{item.price}}</td>                        <td width="10%" align="center">{{item.appointTime||item.apptDate|toDateString}}</td>                        <td width="10%">                            <div style="width: 65px">                                <button class="btn btn-default" style="background-color: #F5F5F5; width:30px;height:30px; padding:0" ng-click="editTxplanItem(item,$index)" ng-show="item.diagnose">                                    <span class="glyphicon glyphicon-pencil"></span>                                </button>                                <button class="btn btn-default" style="background-color: #F5F5F5; width:30px;height:30px; padding:0;float: right;" ng-click="deleteTxplanItem(item,$index)">                                    <span class="glyphicon glyphicon-trash"></span>                                </button>                            </div>                        </td>                    </tr>                </table>            </div>            <div style="margin-top:10px;text-align:right">                <!--  <button class="btn btn-group" style="background-color: #e3e3e3; " ng-click="getDiscreteTxPlan()" ng-disabled="disableBtn">+增加</button> -->                <button class="btn btn-group" style="background-color: #e3e3e3; " ng-click="addTxplanItem()" ng-disabled="disableBtn">+增加</button>            </div>            <div style="margin-top:20px;text-align:right">                <button class="btn btn-group div-selected"                        ng-click="save()">                    保存                </button>                <button class="btn btn-group div-selected" ng-click="printTxplan()">预览打印</button>                <button class="btn btn-group" style="background-color: #e3e3e3; " ng-click="close()">取消</button>            </div>        </div>    </div></div>');templateCache.put('/app/txplan/views/patient-txplan-diagnose-view.html','<div ares-modal-dragable ares-clean-kendo>    <style scoped>        #patientTxplanSymptomGrid .selectcheckbox {            transform: scale(1.4);        }        .center {            text-align: center;        }        .div-selected {            background-color: #00A6C9;            color: white;        }    </style>    <div class="modal-header ares-dialog-header">        <button type="button" class="close" ng-click="cancel()" aria-label="Close"><span aria-hidden="true">&times;</span></button>        <h4 class="modal-title">检查项目</h4>    </div>    <div class="modal-body ares-dialog-body" style="height:580px;">        <div style="width:100%;height:350px;">            <tooth-treatment-view></tooth-treatment-view>        </div>        <div style="margin-top: 10px">            <span style="float: left;margin-bottom: 3px;padding-top: 10px;">项目</span>            <div style="display: inline-block;float: right;">                <button class="btn" style="margin-bottom: 3px;" ng-click="createObservation()">                    <span class="glyphicon glyphicon-plus"></span>                    添加自定义症状                </button>            </div>        </div>        <div style="margin-top: 10px;">            <table style="width:100%">                <tr style="border-top: 1px solid #00a6c9; border-bottom: 1px solid #00a6c9; height:35px; ">                    <th width="20%" class="center">诊断</th>                    <th width="20%" class="center">治疗项目</th>                    <th width="20%" class="center">总价</th>                    <th width="20%" class="center">操作</th>                </tr>            </table>            <div style="overflow-x: auto; max-height: 130px; ">                <table style="  width: 100%; ">                    <tr ng-repeat="item in checkItemList" style="height: 35px; border-bottom: 2px solid #F5F5F5; ">                        <td width="20%" align="center">                            <span ng-show="item.id >0">{{item.diagnoseName}}</span>                            <input ng-show="item.id ==0" ng-model="item.diagnoseName" class="form-control" style="display: inline-block; width: 80px; " maxlength="200" />                        </td>                        <td width="20%" align="center">                            <span ng-show="item.id >0">{{item.name}}</span>                            <input ng-model="item.name" ng-show="item.id ==0" class="form-control" style="display: inline-block; width: 80px; " maxlength="200" />                        </td>                        <td width="20%" align="center">                            <span ng-show="item.id >0">{{item.totalPrice}}</span>                            <input ng-model="item.totalPrice" ng-show="item.id ==0" class="form-control" style="display: inline-block; width: 80px; " />                        </td>                        <td width="20%" align="center">                            <button class="btn btn-default" style="background-color: #F5F5F5; width:30px;height:30px; padding:0" ng-click="deleteTxplanItem($index)">                                <span class="glyphicon glyphicon-trash"></span>                            </button>                        </td>                    </tr>                </table>            </div>        </div>    </div>    <div class="modal-footer ares-dialog-footer">        <div style="margin: 0 auto; text-align: center;">            <a href="javascript:void(0);" class="ares-btn ares-btn-blue" ng-click="save()" aria-label="Save">保存</a>            <a style="margin-left: 20px" href="javascript:void(0);" class="ares-btn ares-btn-gray" ng-click="cancel()" aria-label="Close">关闭</a>        </div>    </div></div>');templateCache.put('/app/txplan/views/patient-txplan-home-view.html','<div ui-view></div>');templateCache.put('/app/txplan/views/patient-txplan-item-edit-view.html','<div class="ares-main-content" ares-clean-kendo ares-patient-container ares-msg-host>    <style scoped>        h4 {            margin: 25px 0;        }        .div-selected {            background-color: #00A6C9;            color: white;        }        .center {            text-align: center;        }    </style>    <div style="padding: 10px; ">        <div style="padding: 25px; background-color: #F5F5F5; height: 500px; ">            <div>                <strong class="" style="color: #575353;">治疗计划名称</strong>                <strong style="margin-left: 98px; color: #575353;">创建人</strong>            </div>            <div style="margin-top:10px;height:45px;">                <input type="text" class="form-control col-sm-3" style="width:130px;" ng-disabled="disableBtn" ng-model="txplan.name" />                <input type="text" id="provider-dropdown" class="form-control col-sm-3" style="width:140px;margin-left:20px;" />            </div>            <div style=" overflow-x: auto; width:100%;">                <table style="width:100%">                    <tr style="border-top: 2px solid #00a6c9; border-bottom: 1px solid #00a6c9; height:45px; ">                        <th width="5%" style="color: #A5A8B1;" class="center">顺序</th>                        <th width="10%" style="color: #A5A8B1;" class="center">牙齿</th>                        <th width="5%" style="color: #A5A8B1;" class="center">部位</th>                        <th width="10%" style="color: #A5A8B1;" class="center">症状</th>                        <th width="10%" style="color: #A5A8B1;" class="center">备注</th>                        <th width="10%" style="color: #A5A8B1;" class="center">诊断</th>                        <th width="10%" style="color: #A5A8B1;" class="center">处置项目</th>                        <th width="10%" style="color: #A5A8B1;" class="center">费用预算</th>                        <th width="10%" style="color: #A5A8B1;" class="center">预约时间</th>                        <th width="5%"> </th>                    </tr>                    <tr ng-repeat="item in txplan.txplanItemList" style="height:35px;">                        <td width="5%" align="center">{{$index+1}}</td>                        <td width="10%" align="center" style="word-break: break-all;">{{item.toothCode}}</td>                        <td width="5%" align="center">{{item|toRegionName}}</td>                        <td width="10%" align="center">{{item.observationCode||item.toothObservationCode|toObservationCodeName}}</td>                        <td width="10%" align="center">{{item.notes}}</td>                        <td width="10%" align="center" ng-show="item.diagnose">{{item.diagnose}}</td>                        <td width="10%" align="center" ng-show="!item.diagnose">                            <label style="color: #00A6C9; cursor: pointer; " ng-click="createDiagnose($index)">+ 增加诊断</label>                        </td>                        <td width="10%" align="center">{{item.transactionCodeName||item.name}}</td>                        <td width="10%" align="center">{{item.price}}</td>                        <td width="10%" align="center">{{item.appointTime||item.apptDate|toDateString}}</td>                        <td width="5%">                            <button class="btn btn-default" style="background-color: #F5F5F5; width:30px;height:30px; padding:0" ng-click="deleteTxplanItem(item,$index)">                                <span class="glyphicon glyphicon-trash"></span>                            </button>                        </td>                    </tr>                </table>            </div>            <div style="margin-top:10px;">                <button class="btn div-selected" ng-click="getDiscreteTxPlan()" ng-disabled="disableBtn">添加未治疗项目</button>            </div>            <div style="margin-top:20px;text-align:center">                <button class="btn btn-default" ng-style="{\'background-color\':hasTxplanItem?\'#00a6c9\':\'#e3e3e3\',\'color\':hasTxplanItem?\'white\':\'#333\'}"                        ng-disabled="disableBtn||!hasTxplanItem" ng-click="save()">                    保存                </button>                <button class="btn btn-group" style="background-color: #e3e3e3; " ng-click="close()">取消</button>            </div>        </div>    </div></div>');templateCache.put('/app/txplan/views/patient-txplan-item-view.html','<div ares-modal-dragable ares-clean-kendo>    <style scoped>        .panel-primary {            border-color: white;        }    </style>    <div class="modal-header ares-dialog-header">        <button type="button" class="close" ng-click="cancel()" aria-label="Close"><span aria-hidden="true">&times;</span></button>        <h4 class="modal-title">计划项目</h4>    </div>    <div class="modal-body ares-dialog-body" ng-show="showRemain" style="height:550px;width:100%">        <div id="treeDiv" class="col-md-4" style="padding: 0;">            <div class="panel panel-primary">                <div class="panel-heading" style="padding:10px 3px !important;">                    收费项目列表                </div>                <div class="panel-body treeviewContainer" id="itemlist" style="padding: 0;">                    <div kendo-tree-view="chargeItemFullTree"                         k-data-text-field="[\'itemName\',\'treeLabelText\']"                         k-data-source="chargeItemFullTreeData"                         k-on-change="onChargeItemFullTreeChange(dataItem)"                         ng-dblclick="onDoubleClickChargeItemFullTree($event)" style="height:440px; overflow-y:auto;">                    </div>                </div>            </div>        </div>        <div id="listDiv" class="col-md-8" style="float:left;">            <div class=" panel panel-primary" style="height: 510px;">                <div class="panel-heading clearfix" style="padding: 4px;">                    <input id="chargeItemSearch" style="width:350px;" />                    <label style="margin-left:100px;"> 合计:{{txPlan.price}}元</label>                </div>                <div class="panel-body" style="height:500px;overflow-y:auto;padding: 0;">                    <table class="table table-striped table-bordered" style="margin-bottom:0; width:100%">                        <thead>                            <tr>                                <th class="text-left">项目名称</th>                                <th class="text-left">单价</th>                                <th class="text-left">数量</th>                                <th class="text-left" ng-show="showRemain">剩余数量</th>                                <th class="text-left">金额</th>                                <th class="text-left">状态</th>                                <th class="text-left">操作</th>                            </tr>                        </thead>                        <tbody>                            <tr ng-repeat="item in txPlan.chargeItemList">                                <td>{{item.itemName}}</td>                                <td>{{item.price}}</td>                                <td><input style="width:70px;" kendo-numeric-text-box k-min="0" k-options="{format: \'#\'}" k-max="99999999" k-ng-model="item.count" k-on-change="onChargeCountChange(kendoEvent,$index)" /></td>                                <td ng-show="showRemain">{{item.remainCount}}</td>                                <td>{{item.price*item.count}}</td>                                <td>{{item.status}}</td>                                <td class="text-center">                                    <button class="btn btn-xs btn-primary"                                            ng-click="deleteChargeDetail($index)" ng-disabled="item.status==\'已收费\'">                                        删除                                    </button>                                </td>                            </tr>                        </tbody>                    </table>                </div>            </div>        </div>    </div>    <div class="modal-body ares-dialog-body" ng-show="!showRemain">        <table class="table table-striped table-bordered" style="margin-bottom:0; width:100%">            <thead>                <tr>                    <th class="text-left">项目名称</th>                    <th class="text-left">单价</th>                    <th class="text-left">数量</th>                    <th class="text-left" ng-show="showRemain">剩余数量</th>                    <th class="text-left">金额</th>                    <th class="text-left" ng-show="showRemain">状态</th>                    <th class="text-left" ng-show="showRemain">操作</th>                </tr>            </thead>            <tbody>                <tr ng-repeat="item in txPlan.chargeItemList">                    <td>{{item.itemName}}</td>                    <td>{{item.price}}</td>                    <td>{{item.count}}</td>                    <td ng-show="showRemain">{{item.remainCount}}</td>                    <td>{{item.price*item.count}}</td>                    <td ng-show="showRemain">{{item.status}}</td>                    <td class="text-center" ng-show="showRemain">                        <button class="btn btn-xs btn-primary"                                ng-click="deleteChargeDetail($index)">                            删除                        </button>                    </td>                </tr>            </tbody>        </table>    </div>    <div class="modal-footer ares-dialog-footer">        <button type="button" class="btn btn-default" ng-show="showRemain" ng-click="cancel()">取消</button>        <button type="button" class="btn btn-primary" ng-show="showRemain" ng-click="save()">保存</button>        <button type="button" class="btn btn-default" ng-show="!showRemain" ng-click="cancel()">关闭</button>    </div>    <notification-upload-success></notification-upload-success></div>');templateCache.put('/app/txplan/views/patient-txplan-print-view.html','<div class="ares-main-content" ares-clean-kendo ares-patient-container ares-msg-host>    <style>        .div-selected {            background-color: #00A6C9;        }        .center {            text-align: center;        }    </style>    <div style="margin:30px; border: 1px solid black; min-height: 780px; border-radius: 10px;">        <div style="padding:15px;">            <div style="min-height:450px">                <div style="margin-top:10px;">                    <span style="text-align:center; font-size:20px;font-weight:bolder;display:block;">治疗计划 - {{txplan.name}}</span>                    <span style="float:right;margin-top:-20px;margin-right:15px;" ng-if="txplan.status==2">完成时间：{{txplan.recordUpdatedTime|toDateString}}</span>                </div>                <div style="margin-top:20px; width:100%;">                    <table style="width:100%">                        <tr style="border-top: 2px solid black; border-bottom: 1px solid black; height: 45px; ">                            <th width="5%" style="color: #A5A8B1;" class="center">顺序</th>                            <th width="20%" style="color: #A5A8B1;" class="center">牙齿</th>                            <th width="5%" style="color: #A5A8B1;" class="center">区域</th>                            <th width="12%" style="color: #A5A8B1;" class="center">症状</th>                            <th width="12%" style="color: #A5A8B1;" class="center">诊断</th>                            <th width="12%" style="color: #A5A8B1;" class="center">治疗项目</th>                            <th width="12%" style="color: #A5A8B1;" class="center">费用预算</th>                            <th width="12%" style="color: #A5A8B1;" class="center">备注</th>                        </tr>                        <tr ng-repeat="item in txplan.txplanItemList" style="height: 55px; border-bottom: 1px solid black; ">                            <td width="5%" align="center">{{$index+1}}</td>                            <td width="20%" align="center" style="word-break: break-all;">                                <span ng-if="allowToothFDI">{{item.toothCode}}</span>                                <div ng-if="!allowToothFDI">                                    <ares-tooth-selector selected-tooth-codes="item.toothCodeArray" tooth-board-opened="false" data-index="{{$index}}"></ares-tooth-selector>                                </div>                            </td>                            <td width="5%" align="center">{{item|toRegionName}}</td>                            <td width="12%" align="center">{{item.toothObservationCode|toObservationCodeName}}</td>                            <td width="12%" align="center">{{item.diagnose}}</td>                            <td width="12%" align="center">{{item.transactionCodeName||item.name}}</td>                            <td width="12%" align="center">{{item.price}}</td>                            <td width="12%" align="center">{{item.notes}}</td>                        </tr>                    </table>                    <label style="text-align:right;display:block;margin-right:15px; margin-top:25px;">合计预算：{{txplan.price}}</label>                </div>            </div>            <div style="min-height:250px;">                <div style="margin-top:30px;">                    <label style=" display: block; margin-left: 20px; font-size: 16px;">补充内容</label>                    <textarea class="form-control" style=" max-width: 95%; margin-left: 15px; resize: none; margin-top:5px;" rows="5" ng-model="txplan.notes" ng-disabled="txplan.status==2"></textarea>                </div>            </div>            <div style="height:50px;margin-top:30px;">                <span style="text-align: center; font-size: 20px; font-weight: bolder; margin-left: 80px;">医生签字</span>                <span style="text-align: center; font-size: 20px; font-weight: bolder; margin-left: 55%;">病患签字</span>            </div>        </div>    </div>    <div style="margin-top:20px;text-align:center">        <button print-div="txplanTemplate" id="printBtn" style="display:none"></button>        <button class="btn div-selected" style="color: white; width: 80px; " ng-click="printTxplan()">            打印        </button>        <button class="btn btn-group" style="background-color: #e3e3e3; width: 80px;" ng-click="close()">关闭</button>    </div>    <div id="txplanTemplate" style="display:none;">        <style scoped>            .printFont {                font-family: SimHei;            }        </style>        <div style="padding:15px;">            <div style="min-height:400px">                <div style="margin-top:10px;">                    <span style="text-align:center; font-size:20px;font-weight:bolder;display:block;" class="printFont">治疗计划 - {{txplan.name}}</span>                    <span style="float:right;margin-top:-20px;margin-right:15px;" class="printFont" ng-if="txplan.status==2">完成时间：{{txplan.recordUpdatedTime|toDateString}}</span>                </div>                <div style="margin-top:20px; width:100%;">                    <table style="width: 100%; border-top: 2px solid black; border-bottom: 1px solid black; ">                        <tr style="height: 45px; ">                            <th width="5%" style="color: #A5A8B1;" class="center printFont">顺序</th>                            <th width="20%" style="color: #A5A8B1;" class="center printFont">牙齿</th>                            <th width="5%" style="color: #A5A8B1;" class="center printFont">区域</th>                            <th width="12%" style="color: #A5A8B1;" class="center printFont">症状</th>                            <th width="12%" style="color: #A5A8B1;" class="center printFont">诊断</th>                            <th width="12%" style="color: #A5A8B1;" class="center printFont">治疗项目</th>                            <th width="12%" style="color: #A5A8B1;" class="center printFont">费用预算</th>                            <th width="12%" style="color: #A5A8B1;" class="center printFont">备注</th>                        </tr>                    </table>                    <table ng-repeat="item in txplan.txplanItemList" style="width:100%; height: 55px; border-bottom: 1px solid black; ">                        <tr>                            <td width="5%" align="center" class="printFont">{{$index+1}}</td>                            <td width="20%" align="center" class="printFont" style="word-break: break-all;">                                <span ng-if="allowToothFDI">{{item.toothCode}}</span>                                <div ng-if="!allowToothFDI" style="margin-top:-10px;">                                    <ares-tooth-selector selected-tooth-codes="item.toothCodeArray" tooth-board-opened="false" data-index="{{$index}}"></ares-tooth-selector>                                </div>                            </td>                            <td width="5%" align="center" class="printFont">{{item|toRegionName}}</td>                            <td width="12%" align="center" class="printFont">{{item.toothObservationCode|toObservationCodeName}}</td>                            <td width="12%" align="center" class="printFont">{{item.diagnose}}</td>                            <td width="12%" align="center" class="printFont">{{item.transactionCodeName||item.name}}</td>                            <td width="12%" align="center" class="printFont">{{item.price}}</td>                            <td width="12%" align="center" class="printFont">{{item.notes}}</td>                        </tr>                    </table>                    <label style="text-align:right;display:block;margin-right:15px; margin-top:25px;" class="printFont">合计预算：{{txplan.price}}</label>                </div>            </div>            <div style="min-height:250px;">                <div style="margin-top:30px;">                    <label style=" display: block; margin-left: 20px; font-size: 16px;" class="printFont">补充内容</label>                    <div style="margin-left:20px;margin-top:8px">                        <div class="printFont" ng-bind-html="getTxplanNotes(txplan.notes)"></div>                    </div>                </div>            </div>            <div style="height:50px;margin-top:30px;">                <span style="text-align: center; font-size: 20px; font-weight: bolder; margin-left: 80px;" class="printFont">医生签字</span>                <span style="text-align: center; font-size: 20px; font-weight: bolder; margin-left: 50%;" class="printFont">病患签字</span>            </div>        </div>    </div></div>');templateCache.put('/app/txplan/views/patient-txplan-symptom-view.html','<div ares-modal-dragable ares-clean-kendo>    <style scoped>        #patientTxplanSymptomGrid thead tr {            height: 52px;        }        #patientTxplanSymptomGrid thead th {            vertical-align: middle;        }        #patientTxplanSymptomGrid tbody tr {            height: 62px;        }        #patientTxplanSymptomGrid .selectcheckbox {            transform: scale(1.4);        }        #patientTxplanSymptomGrid .k-alt {            background-color: #fff;        }        #patientTxplanSymptomGrid .k-state-selected, .k-state-selected:link {            color: #000;            background-color: #edfcff;            border-color: #edfcff;        }                .td-class {            word-break: break-all;        }    </style>    <div class="modal-header ares-dialog-header">        <button type="button" class="close" ng-click="cancel()" aria-label="Close"><span aria-hidden="true">&times;</span></button>        <h4 class="modal-title">检查项目</h4>    </div>    <div class="modal-body ares-dialog-body" style="padding: 24px">        <div>            <button type="button" class="btn btn-default" ng-click="createObservation()" style="margin-bottom:10px;">                <span class="glyphicon glyphicon-plus"></span>                新增自定义症状            </button>            <div id="patientTxplanSymptomGrid" style="width:100%;" class="ares-simple-grid"></div>        </div>        <div style="margin: 0 auto; margin-top: 24px; text-align: center;">            <a href="javascript:void(0);" class="ares-btn ares-btn-blue" ng-click="save()" aria-label="Save">保存</a>            <a style="margin-left: 24px" href="javascript:void(0);" class="ares-btn ares-btn-gray" ng-click="cancel()" aria-label="Close">关闭</a>        </div>    </div></div>');templateCache.put('/app/txplan/views/tooth-treatment-view.html','<div style="width:100%">    <style scoped>        #hardTissueList {            width: 100%;        }        .selected {            text-decoration: none !important;            background-color: #00A6C9 !important;            color: #fff !important;        }        .chk-btn-table {            display: table;            margin-bottom: 10px;            text-align: left;            width: 99%;        }        .chk-btn-row {            display: table-row;        }        .chk-btn-cell {            display: table-cell;            width: 100px;            height: 20px;        }        .chk-btn {            width: 95%;            border-style: none;            background-color: #fff;            border: 1px solid #00A6C9;        }        .info-container {            width: 98%;            height: 100px;            text-align: left;            margin-bottom: 20px;        }        .info {            height: 320px;            display: inline-block;            background: #fff;        }        .info-list {            width: 69%;            display: table;            float: right;            border: 1px solid #E3E3E3;            display: inline-block;            background: #fff;            margin-bottom: 10px;        }            .info-list ul li button {                text-decoration: none;                width: 100%;                padding-left: 0;                padding-right: 0;                color: #4E4E4E;                text-align: left;            }                .info-list ul li button:hover {                    text-decoration: none;                    color: #fff;                    background-color: #00A6C9;                    overflow: hidden;                }        .diagnose-title {            height: 38px;            background: #ECF0F6;            text-align: left;            line-height: 38px;            padding-left: 10px;        }        .tooth-charting-container {            border-right: none;            height: 324px;        }        #firstLevelList {            list-style: none;            height: 314px;            overflow-y: scroll;            overflow-x: hidden;        }        .treat-project div div {            padding: 5px;            padding-left: 10px;        }            .treat-project div div:nth-child(2n) {                background-color: #ECF0F6;            }        tr.k-detail-row {            background-color: #E0F2F9;        }    </style>    <div class="info-container">        <table style="width:100%">            <tr>                <td valign="top" style="width:30%">                    <div ng-if="!editMode()" style="margin-right: 4px; border: 1px solid #E3E3E3;height:354px;">                        <table style="width:100%;">                            <tr>                                <td>                                    <label style="margin-left: 5px;margin-top: 10px;" class=" control-label">牙位</label>                                </td>                            </tr>                        </table>                        <table style="width:100%;">                            <tr>                                <td>                                    <input type="text" class="form-control" ng-model="tooth.toothCodes" ng-disabled="isEdit" maxlength="100" style="margin-left:20px;width:120px; display:inline-block" />                                </td>                                <td>                                    <div style="margin-top: -18px;width: 80px;"><ares-tooth-selector selected-tooth-codes="tooth.FDIToothCodesArray" show-button="true" disable-button="isEdit" popover-placement="bottom"></ares-tooth-selector></div>                                </td>                            </tr>                        </table>                        <div style="margin-top:5px;">                            <label class=" control-label" style="margin-left: 5px;">部位</label><input type="text" class="form-control" ng-disabled="isEdit" maxlength="500" ng-model="tooth.region" style="    width: 150px;     margin-left: 20px;" />                        </div>                        <div style="margin-top:5px;">                            <label class=" control-label" style="margin-left: 5px;vertical-align:top">症状</label><textarea type="text" ng-disabled="isEdit" class="form-control" ng-model="tooth.observationName" maxlength="60" style="   width: 150px;       margin-left: 20px;" rows="2" />                        </div>                        <div style="margin-top:5px;">                            <label class=" control-label" style="margin-left: 5px;vertical-align:top">备注</label><textarea type="text" ng-disabled="isEdit" class="form-control" ng-model="tooth.notes" maxlength="255" style="    width: 150px;     margin-left: 20px;" rows="2" />                        </div>                    </div>                    <div ng-if="editMode()" style="margin-right: 4px; border: 1px solid #E3E3E3;height:354px;">                        <div class="diagnose-title">                            <label style="text-align: left;margin-left:5px;float: left;">牙位:{{tooth.code}}</label>                            <label style="text-align: right; margin-right: 5px; float: right; ">部位:{{region}}</label>                        </div>                        <div class="tooth-charting-container" style="margin-left: 50px;">                            <div class="tooth-charting-facial">                                <div ng-class="{\'upper-tooth\':isUpperTooth,\'lower-tooth\':!isUpperTooth}">                                    <ares-tooth-image selected-regions="regions" observations="tooth.observations"                                                      tooth-code="{{tooth.code}}"                                                      tooth-position="{{tooth.position}}"                                                      tooth-status="{{tooth.toothStatus}}"                                                      is-charting="false"></ares-tooth-image>                                </div>                            </div>                            <div class="tooth-charting-occlusal" style="width: 80px !important;">                                <div ng-class="{\'upper-tooth\':isUpperTooth,\'lower-tooth\':!isUpperTooth}">                                    <ares-tooth-image selected-regions="regions" observations="tooth.observations"                                                      tooth-code="{{tooth.code}}"                                                      tooth-position="{{tooth.position}}"                                                      tooth-status="{{tooth.toothStatus}}"                                                      image-type="o" is-charting="false"></ares-tooth-image>                                </div>                            </div>                        </div>                    </div>                </td>                <td valign="top" style="width:70%">                    <div class="info-list" style="display: table; height: 350px;width:100%">                        <div style="display: table-cell; width: 50%;max-width:220px;">                            <div class="diagnose-title">                                诊断                                <input ng-model="diagnoseSearchString" class="form-control" ng-change="filterDiagnoseList()" style="display: inline-block; width: 120px; margin-left: 5px; " />                                <span class="glyphicon glyphicon-search" style="margin-left: -25px; " aria-hidden="true"></span>                            </div>                            <div>                                <ul id="firstLevelList">                                    <li ng-repeat="diagnoseItem in filteredDiagnoseList">                                        <button type="button" style="position: relative" class="btn btn-link"                                                ng-class="{\'selected\':$index == selectedRow}"                                                ng-click="selectCode(diagnoseItem, $index)">                                            <span style="margin-left: 10px; width: 80%; white-space: normal; display: block; word-break: break-all; ">                                                {{diagnoseItem.itemName}}                                            </span>                                            <span style="position: absolute; right: 10px;top:35%;color: #E2E3E7"                                                  class="glyphicon glyphicon-menu-right"></span>                                        </button>                                    </li>                                </ul>                            </div>                        </div>                        <div style="display: table-cell; overflow-x: hidden;" class="treat-project">                            <div class="diagnose-title">                                治疗项目                                <input ng-model="treatmentSearchString" class="form-control" style="display: inline-block; width: 120px;margin-left: 5px; " ng-change="filterTreatmentList()" />                                <span class="glyphicon glyphicon-search" style="margin-left: -25px; " aria-hidden="true"></span>                            </div>                            <div style="overflow-y: scroll;height: 314px;overflow-x: hidden;">                                <div ng-repeat="txPlanListItem in filterTxPlanListByDiagnose" style="display: block; width: 100%; ">                                    <input type="checkbox" ng-model="txPlanListItem.isCheck"                                           ng-click="clickTxplanItem(txPlanListItem.id)" />{{txPlanListItem.name}}                                    <!--the id is : {{txPlan                                    ListItem.idValue}}-->                                    </                                    div>                                </div>                            </div>                        </div>                    </div>                </td>            </tr>        </table>    </div>    <!--<div class="chk-btn-table">             <div class="chk-btn-row">                 <div class="chk-btn-cell">                     <button class="chk-btn" ng-click="cancel()">取消</button>                 </div>                 <div class="chk-btn-cell">                     <button class="chk-btn" ng-click="save()">确认</button>                 </div>             </div>         </div>--></div>');})();